package leetcode.matrix;

import leetcode.matrix.common.MatrixUtils;

class Solution867 {
    public int[][] transpose(int[][] matrix) {
        return MatrixUtils.transpose(matrix);
    }
}

public class leetcode867 {
    public static void main(String[] args) {
        Solution867 solution867 = new Solution867();
        int[][] matrix = {{1,2,3},{4,5,6},{7,8,9}};
        test867(solution867, matrix);
    }

    private static void test867(Solution867 solution867, int[][] matrix) {
        int[][] transpose = solution867.transpose(matrix);
        MatrixUtils.printMatrix(transpose);
    }
}
